WPTelegram\Core\includes\Logger A

Total Complexity 53
Dependencies 7
Dependents 2
Total lines 665
Lines of code 305
Logical lines of code 133
Comment lines 225
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
view_log()
S
56 7 16
after_send()
S
52 4 29
hook_it_up()
S
60 4 13
write_log()
S
56 3 15
hookup()
S
68 3 7
get_request_type()
S
65 3 9
add_rules_data()
S
58 2 14
is_new_post()
S
61 2 13
add_bot_api_debug()
S
59 2 13
get_log_file_name()
S
70 2 5
hookup_for_p2tg()
S
57 1 15
bypass_date_rules()
S
65 1 11
bypass_post_type_rules()
S
65 1 11
send_existing_post()
S
65 1 11
send_new_post()
S
65 1 11
send_post_type()
S
65 1 11
image_source()
S
62 1 11
get_log_url()
S
63 1 11
post_finish()
S
67 1 8
wp_filesystem()
S
71 1 6
get_log_file_path()
S
71 1 5
prepare_content_error()
S
69 1 6
set_active_logs()
S
76 1 4
get_active_logs()
S
79 1 3
delay_post()
S
67 1 8
sv_check_failed()
S
68 1 7
set_form_data()
S
67 1 8
before_send()
S
64 1 9
get_key()
S
79 1 3
hookup_for_bot_api()
S
78 1 3
rules_apply()
S
67 1 9